package com.itheima.pattern.factory.factory_config;

public abstract class Coffee {

    public abstract String getName();

    // 加糖
    public void addsugar(){
        System.out.println("加糖");
    }

    // 加奶
    public void addmilk(){
        System.out.println("加奶");
    }

}
